<h3>Action shop:product</h3>

<p class="description">The shop:product product action is designed for creating the Product page. The action loads a product by a product URL name specified in the page address and creates a corresponding PHP variable which you can use in the page code.</p>

<h4 class="separated">Variables</h4>
<ul>
	<li><strong>$product</strong> – a product object. An object of the <a href="http://lemonstandapp.com/wiki/class_shop_product" target="_blank">Shop_Product</a> class.This variable can be NLL if a requested product was not found. Always check whether the variable is NULL and display a "product not found" message instead of a normal product page.</li>
	<li><strong>$product_unavailable</strong> - indicates whether the product is out of stock or disabled. Check this variable to generate corresponding messages.</li>
</ul>

<p class="description"><a href="http://lemonstandapp.com/wiki/action_shop_product/" target="_blank">Read more...</a></p>